package com.yenlien.traceyun.business.dao;

import com.yenlien.traceyun.business.entity.SensorCode;
import com.yenlien.traceyun.webase.dao.BaseJpaDao;

import java.util.Date;
import java.util.List;

public interface SensorCodeDao extends BaseJpaDao<SensorCode> {

    SensorCode findFirstBySensorCode(String sensorCode);

    List<SensorCode> findByNodeTypeAndTimeDataBetween(String id, Date createtime, Date createtime2);
}
